.class Lcom/netease/newsreader/activity/ShowColumnInMore$2;
.super Ljava/lang/Object;
.source "ShowColumnInMore.java"

# interfaces
.implements Landroid/widget/AbsListView$OnScrollListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/netease/newsreader/activity/ShowColumnInMore;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/netease/newsreader/activity/ShowColumnInMore;


# direct methods
.method constructor <init>(Lcom/netease/newsreader/activity/ShowColumnInMore;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$2;->this$0:Lcom/netease/newsreader/activity/ShowColumnInMore;

    .line 742
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onScroll(Landroid/widget/AbsListView;III)V
    .locals 2
    .parameter "view"
    .parameter "firstVisibleItem"
    .parameter "visibleItemCount"
    .parameter "totalItemCount"

    .prologue
    .line 763
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$2;->this$0:Lcom/netease/newsreader/activity/ShowColumnInMore;

    add-int v1, p2, p3

    add-int/lit8 v1, v1, -0x1

    invoke-static {v0, v1}, Lcom/netease/newsreader/activity/ShowColumnInMore;->access$21(Lcom/netease/newsreader/activity/ShowColumnInMore;I)V

    .line 764
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$2;->this$0:Lcom/netease/newsreader/activity/ShowColumnInMore;

    invoke-static {v0, p4}, Lcom/netease/newsreader/activity/ShowColumnInMore;->access$22(Lcom/netease/newsreader/activity/ShowColumnInMore;I)V

    .line 765
    return-void
.end method

.method public onScrollStateChanged(Landroid/widget/AbsListView;I)V
    .locals 2
    .parameter "view"
    .parameter "scrollState"

    .prologue
    .line 746
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$2;->this$0:Lcom/netease/newsreader/activity/ShowColumnInMore;

    invoke-static {v0}, Lcom/netease/newsreader/activity/ShowColumnInMore;->access$19(Lcom/netease/newsreader/activity/ShowColumnInMore;)I

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$2;->this$0:Lcom/netease/newsreader/activity/ShowColumnInMore;

    invoke-static {v0}, Lcom/netease/newsreader/activity/ShowColumnInMore;->access$20(Lcom/netease/newsreader/activity/ShowColumnInMore;)I

    move-result v0

    iget-object v1, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$2;->this$0:Lcom/netease/newsreader/activity/ShowColumnInMore;

    invoke-static {v1}, Lcom/netease/newsreader/activity/ShowColumnInMore;->access$19(Lcom/netease/newsreader/activity/ShowColumnInMore;)I

    move-result v1

    add-int/lit8 v1, v1, -0x1

    if-ne v0, v1, :cond_1

    .line 747
    if-nez p2, :cond_1

    .line 749
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$2;->this$0:Lcom/netease/newsreader/activity/ShowColumnInMore;

    invoke-static {v0}, Lcom/netease/newsreader/activity/ShowColumnInMore;->access$10(Lcom/netease/newsreader/activity/ShowColumnInMore;)Landroid/widget/ListView;

    move-result-object v0

    iget-object v1, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$2;->this$0:Lcom/netease/newsreader/activity/ShowColumnInMore;

    invoke-static {v1}, Lcom/netease/newsreader/activity/ShowColumnInMore;->access$11(Lcom/netease/newsreader/activity/ShowColumnInMore;)Landroid/widget/LinearLayout;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->removeFooterView(Landroid/view/View;)Z

    .line 750
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$2;->this$0:Lcom/netease/newsreader/activity/ShowColumnInMore;

    invoke-static {v0}, Lcom/netease/newsreader/activity/ShowColumnInMore;->access$1(Lcom/netease/newsreader/activity/ShowColumnInMore;)Lcom/netease/newsreader/util/BasePageViewAdapter;

    move-result-object v0

    invoke-virtual {v0}, Lcom/netease/newsreader/util/BasePageViewAdapter;->getCount()I

    move-result v0

    if-lez v0, :cond_0

    .line 751
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$2;->this$0:Lcom/netease/newsreader/activity/ShowColumnInMore;

    invoke-static {v0}, Lcom/netease/newsreader/activity/ShowColumnInMore;->access$10(Lcom/netease/newsreader/activity/ShowColumnInMore;)Landroid/widget/ListView;

    move-result-object v0

    iget-object v1, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$2;->this$0:Lcom/netease/newsreader/activity/ShowColumnInMore;

    invoke-static {v1}, Lcom/netease/newsreader/activity/ShowColumnInMore;->access$11(Lcom/netease/newsreader/activity/ShowColumnInMore;)Landroid/widget/LinearLayout;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->addFooterView(Landroid/view/View;)V

    .line 754
    :cond_0
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$2;->this$0:Lcom/netease/newsreader/activity/ShowColumnInMore;

    invoke-static {v0}, Lcom/netease/newsreader/activity/ShowColumnInMore;->access$10(Lcom/netease/newsreader/activity/ShowColumnInMore;)Landroid/widget/ListView;

    move-result-object v0

    iget-object v1, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$2;->this$0:Lcom/netease/newsreader/activity/ShowColumnInMore;

    invoke-static {v1}, Lcom/netease/newsreader/activity/ShowColumnInMore;->access$1(Lcom/netease/newsreader/activity/ShowColumnInMore;)Lcom/netease/newsreader/util/BasePageViewAdapter;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    .line 755
    iget-object v0, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$2;->this$0:Lcom/netease/newsreader/activity/ShowColumnInMore;

    invoke-static {v0}, Lcom/netease/newsreader/activity/ShowColumnInMore;->access$10(Lcom/netease/newsreader/activity/ShowColumnInMore;)Landroid/widget/ListView;

    move-result-object v0

    iget-object v1, p0, Lcom/netease/newsreader/activity/ShowColumnInMore$2;->this$0:Lcom/netease/newsreader/activity/ShowColumnInMore;

    invoke-static {v1}, Lcom/netease/newsreader/activity/ShowColumnInMore;->access$20(Lcom/netease/newsreader/activity/ShowColumnInMore;)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setSelection(I)V

    .line 757
    :cond_1
    return-void
.end method
